package cn.tiga.product.feignclient;


import cn.tiga.domain.Store;
import cn.tiga.product.util.jsonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("/store")
@FeignClient(value = "store-service" )
public interface Userfeignclient {
    @PostMapping("/add")
    jsonResult add(@RequestBody Store store);
}
